package com.ruimei.mapper;

import com.ruimei.entitys.Parent;
import com.ruimei.entitys.Student;
import java.util.List;

import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Param;

public abstract interface UserMapper
{
  public abstract String selectUserExist(Parent parent);
  
  public abstract Parent selectPass(Parent parent);
  
  public abstract List<Student> getStudents(String id);
  
  public abstract void updateStatus(@Param("id") String id);
  
  public abstract int selectNum(String id);

    String selectStudentExists(@Param("studentIdCard") String studentIdCard);

  int  insertNewParent(@Param("id") String uid, @Param("phoneNo") String phoneNo, @Param("pwd") String pwd, @Param("salt") String salt, @Param("name") String name);

  String selectParentExists(@Param("phoneNo") String phoneNo);

  int insertParentStudentMapping(@Param("studentId") String studentId, @Param("parentId") String parentId, @Param("relation") String relation);

  String selectMappingExists(@Param("studentId") String studentId, @Param("relation") String toString);

  void deleteParentById(@Param("parentId") String parentId);

  int updateParentInfo(Parent parent);

    Parent getParentById(@Param("id") String id);

    String queryParentByPhone(@Param("phoneNo") String phoneNo);
}


/* Location:              E:\360MoveData\Users\admin\Desktop\teacher_wap-0.0.1-SNAPSHOT.jar!\BOOT-INF\classes\com\ruimei\mapper\UserMapper.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       0.7.1
 */